import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

//添加警报设置信息
export function addInFireAlarmConfig(data) {
    return request({
        url: getUrl("admin/fireAlarmConfig/addInFireAlarmConfig"),
        method: 'post',
        data
    })
}

//更新警报设置信息
export function updateInFireAlarmConfig(data) {
    return request({
        url: getUrl("admin/fireAlarmConfig/updateInFireAlarmConfig"),
        method: 'post',
        data
    })
}


export function deleteInFireAlarmConfig(data) {
    return request({
        url: getUrl("admin/fireAlarmConfig/deleteInFireAlarmConfig"),
        method: 'post',
        data
    })
}


//获取警报设置信息数据 getInFireAlarmConfigVo
export function getInFireAlarmConfigVo(data) {
    return request({
        url: getUrl("admin/fireAlarmConfig/getInFireAlarmConfigVo"),
        method: 'post',
        data
    })
}